
import java.util.Scanner;

public class Utils{
    public static int max(int a,int b){
        if(a>b){
            return a;
        } else{
            return b;
        }
    }
    public static int add(int c,int d){
        return c+d;
    }
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入第一个数：");
        int num1 = scanner.nextInt();
        System.out.print("请输入第二个数：");
        int num2 = scanner.nextInt();
        System.out.println("最大值是："+max(num1, num2));
        System.out.print("两数相加结果为："+add(num1, num2));
    }
}